package Concurrent.Executors;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;

/**
 * Created by wangyg 
 * on 2017/8/10 15:35
 */
public class Printer {
	static ObjectMapper objectMapper = new ObjectMapper();



	public static String print(Object obj) throws JsonProcessingException {
		String s = objectMapper.writeValueAsString(obj);
		return s;
	}
}
